#ifndef UNITTESTWRAPPER_H_JM_20130111
#define UNITTESTWRAPPER_H_JM_20130111

#include "UnitTest.h"

namespace jmlib {

	class UnitTestWrapper : public UnitTest {
	public:
		UnitTestWrapper(UnitTestFunction fun) : testFunction_(fun) { }

		virtual void test01() override { testFunction_(); }
	private:
		UnitTestFunction testFunction_;
	};	
} // namespace jmlib

#endif
